]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tools/toolbox: Include subprojects in meson-build --dist
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 12 Feb 2024 11:13:17 +0000 (12:13 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 21 May 2024 13:42:28 +0000 (13:42 +0000)
The main use of the --dist flag is as a fallback when the CI
dist job doesn't work for some reason. The gnome-shell tarball
now needs the --include-subprojects flag, and it doesn't hurt
for mutter/gnome-shell-extensions, so just add it when --dist
is specified.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3164>

tools/toolbox/meson-build.sh

index 32ff1064369a174194eb34d28da2cf69269449d2..fc17cb70ecb6777e9f2faa2afb04caed4c2aa923 100755 (executable)
@@ -103,7 +103,7 @@ done
 find_toplevel
 
 BUILD_DIR=build-$TOOLBOX
-[[ $RUN_DIST ]] && DIST="meson dist -C $BUILD_DIR" || DIST=:
+[[ $RUN_DIST ]] && DIST="meson dist -C $BUILD_DIR --include-subprojects" || DIST=:
 
 needs_reconfigure && RECONFIGURE=--reconfigure